import { useState } from 'react'
import './App.css'

import router from './router'
import { RouterProvider } from 'react-router-dom'

import { store } from '@/store'
import { Provider } from 'react-redux'

import { ConfigProvider } from 'antd'
import zhCN from 'antd/locale/zh_CN'

import './mock'
function App() {
  const [count, setCount] = useState(0)

  return (
    <>
      <ConfigProvider locale={zhCN}>
        <Provider store={store}>
          {/* <App /> */}
          <RouterProvider router={router}></RouterProvider>
        </Provider>
      </ConfigProvider>
    </>
  )
}

export default App
